<template>
	<v-question ref="form" storeKey="q_3" :formFields="fields" :referenceKey="referenceKey" :onSubmit="onSubmit" :goToNextCall="goToNextCall">
	</v-question>
</template>

<script>
import data from '~/data/nextArrayVideoQuestion'
import { push } from '~/router'
export default {
	props: {
		next: {
			type: Function,
			required: true
		}
	},
	data() {
		let self = this
		return {
			fields: data,
			goToNextCall: self.next,
			referenceKey: "1.所有串的第0位next值固定为-1，剩余值则把PMT表整体后移一位即可得到Next数组，故答案为-1、0、1。"
		}
	},
	methods: {
		onSubmit(data, isSuccess) {
			if (isSuccess)
				return
		},
		goTo(name) {
			push(this, name);
		}
	}
};
</script>

<style>
</style>
